<template>
    <div class="container">
        <el-link class="pageToGoogleMap"
            @click="pageToGoogleMap('6th Floor, South Bank House, Barrow Street, Dublin 4 Ireland')">6th Floor, South
            Bank House, Barrow Street, Dublin 4 Ireland
        </el-link>
        <el-link class="pageToGoogleMap" style="margin-top: 30px;"
            @click="pageToGoogleMap('Dr.-Friedrich-Drechsler-Straße 14, 86609 Donauwörth, Germany')">Dr.-Friedrich-Drechsler-Straße
            14, 86609 Donauwörth, Germany
        </el-link>
    </div>
</template>

<script lang="ts" setup>
const pageToGoogleMap = (path) => {
    const url = 'https://www.google.com/maps/search/' + encodeURIComponent(path);
    window.open(url, '_blank');
}

</script>

<style scoped>
.container {
    display: flex;
    height: fit-content;
    width: fit-content;
    flex-direction: column;
}

.pageToGoogleMap {
    color: #000;
    font-size: 20px;
    font-weight: bold;
}
</style>